﻿namespace ApiTemplate.DAL.Base
{
    public class BaseDAL
    {
        /// <summary>
        /// 数据连接对接
        /// </summary>
        public ISqlSugarClient DbContext { get; set; }

        /// <summary>
        /// 映射对象
        /// </summary>
        public IMapper Mapper { get; set; }

        /// <summary>
        /// 当前用户
        /// </summary>
        public ICurrentUser CurrentUser { get; set; }

    }
}
